package com.aaa.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "manager")
public class Manager {
    /**
     * 管理员id
     */
    @TableId(value = "mid", type = IdType.AUTO)
    private Integer mid;

    /**
     * 姓名
     */
    @TableField(value = "mname")
    private String mname;

    /**
     * 年龄
     */
    @TableField(value = "mage")
    private Integer mage;

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 管理员编号
     */
    @TableField(value = "mno")
    private Integer mno;

    /**
     * 状态
     */
    @TableField(value = "state")
    private Integer state;

    public static final String COL_MID = "mid";

    public static final String COL_MNAME = "mname";

    public static final String COL_MAGE = "mage";

    public static final String COL_USERNAME = "username";

    public static final String COL_PASSWORD = "password";

    public static final String COL_MNO = "mno";

    public static final String COL_STATE = "state";
}